package com.yzc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.yzc.mapper.MessagesNotiMapper;
import com.yzc.model.entity.notification.Notification;
import com.yzc.model.vo.notification.MessagesNotiResp;
import com.yzc.service.MessagesNotiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessagesNotiServiceImpl extends ServiceImpl<MessagesNotiMapper, Notification>
        implements MessagesNotiService {
    @Autowired
    private MessagesNotiMapper messagesNotiMapper;
    @Override
    public List<MessagesNotiResp> loadMessagesById(Integer id) {
        return messagesNotiMapper.loadMessagesById(id);
    }
}
